From: Wil Mahan Date: Wed, 29 Sep 2004 05:53:01 +0000 (+0000) Subject: stupid PostgreSQL insists on parentheses :) X-Git-Tag: 1.5.0alpha1~1738 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=138399ad00aadb3e6ddb8a91e783467bca51f8a6;p=lhc%2Fweb%2Fwiklou.git stupid PostgreSQL insists on parentheses :) --- diff --git a/maintenance/parserTests.php b/maintenance/parserTests.php index 9e6b1b8396..117b1e2a73 100644 --- a/maintenance/parserTests.php +++ b/maintenance/parserTests.php @@ -313,7 +313,7 @@ class ParserTest { if (!(strcmp($db->getServerVersion(), '4.1') < 0 and stristr($db->getSoftwareLink(), 'MySQL'))) { # Database that supports CREATE TABLE ... LIKE foreach ($tables as $tbl) { - $db->query("CREATE TEMPORARY TABLE $wgDBprefix$tbl LIKE $tbl"); + $db->query("CREATE TEMPORARY TABLE $wgDBprefix$tbl (LIKE $tbl)"); } } else {